package com.kimwu.kill.mall.itempre.web.service.feign;

import com.kimwu.kill.mall.item.common.dto.StockGetItemDTO;
import com.kimwu.kill.mall.item.common.vo.ItemVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author silence
 * @description ManageFeignService
 * @since 2020/8/21 9:18
 */
@FeignClient(name = "kimwu-kill-item")
public interface ItemFeignService {

    @PostMapping("/item/v1/getAll")
    List<ItemVO> getAll();

}
